package 代理设计模式.动态代理;

public class XMCar implements Car {
    private   String name;

    public XMCar() {
    }

    public XMCar(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        System.out.println("小米汽车 时速 200km/h");
    }
}
